<?php if(isset($posts) && !empty($posts)){?>
<div class="questions">
	<div class="top"><h2><?php echo __d('articles','Last posts',true)?></h2></div>
	<?php foreach ($posts as $key => $post) {?>
	<div class="content">
		<div class="article">
			<h3><?php echo $post['Post']['name']?></h3>
			<span>::<?php echo $post['Post']['modified']?>:: <?php echo $post['Post']['user_id']?></span>
			<p>
				<?php echo $post['Post']['content']?>
				<?php echo $this->Html->link(__d('articles','more...',true),array('controller'=>'a','action'=>$post['Article']['slug']))?>
			</p>
		</div>
	</div>
	
	<?php }?>
	<div class="bottom"></div>
</div>
<?php }?>